package org.nlp2rdf.navigator.server.tiger;

import java.util.List;

public class SearchResult {

	public List<Sentence> matching;
	public List<Sentence> notMatching;

	public SearchResult(List<Sentence> matching, List<Sentence> notMatching) {
		super();
		this.matching = matching;
		this.notMatching = notMatching;
	}

	public List<Sentence> getMatching() {
		return matching;
	}

	public List<Sentence> getNotMatching() {
		return notMatching;
	}

	@Override
	public String toString() {
		String ret = "";
		for (Sentence sentence : getMatching()) {
			ret += sentence + "\n";
		}
		for (Sentence sentence : getNotMatching()) {
			ret += sentence + "\n";
		}
		return ret;
	}

}
